package ast;

import visitor.*;

public class ExpresionCast extends AbstractExpresion
{
	public ExpresionCast(Tipo cast, Expresion valor){
		this.cast = cast;
		this.valor = valor;
	}
	public ExpresionCast(Object cast, Object valor){
		this.cast = (Tipo)cast;
		this.valor = (Expresion)valor;
	}


	public Object accept(Visitor v, Object param) { 
		return v.visit(this, param);
	}

	public Tipo cast;
	public Expresion valor;
}
